
<?php

class IndexController extends Yaf_Controller_Abstract {

    public function indexAction() {//默认Action
        echo 'index';
        //$this->getView()->assign("content", "Yaf : ".YAF_VERSION);
        //$request = Yaf_Dispatcher::getInstance()->getRequest();
//        echo '<pre>';
//        var_dump((new Yaf_Config_ini(APP_PATH . '/conf/router.ini', 'routes'))->routes);
    }

    public function loginAction()
    {
        echo 'login';
    }
}
